Total Complexity | 13 |
Dependencies | 1 |
Dependents | 6 |
Total lines | 178 |
Lines of code | 46 |
Logical lines of code | 21 |
Comment lines | 103 |
Methods | 9 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
calculate() | 56 | 5 | 19 | |
__construct() | 81 | 1 | 3 | |
get_parameters() | 71 | 1 | 6 | |
get_source() | 81 | 1 | 3 | |
is_applicable() | 80 | 1 | 3 | |
get_admin_commission() | 82 | 1 | 3 | |
get_vendor_earning() | 82 | 1 | 3 | |
get_per_item_admin_commission() | 80 | 1 | 3 | |
get_items_total_quantity() | 82 | 1 | 3 |